CVE-2026-45974
btrfs: fix invalid leaf access in btrfs_quota_enable() if ref key not found
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix invalid leaf access in btrfs_quota_enable() if ref key not found If btrfs_search_slot_for_read() returns 1, it means we did not find any key greater than or equals to the key we asked for, meaning we have reached the end of the tree and therefore the path is not valid. If this happens we need to break out of the loop and stop, instead of continuing and accessing an invalid path.
INFO
Published Date :
May 27, 2026, 2:17 p.m.
Last Modified :
May 27, 2026, 2:48 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to the latest version.
- Recompile the kernel with the provided fix.
- Reboot the system to apply the changes.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-45974.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-45974 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-45974
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-45974 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-45974 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 27, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: btrfs: fix invalid leaf access in btrfs_quota_enable() if ref key not found If btrfs_search_slot_for_read() returns 1, it means we did not find any key greater than or equals to the key we asked for, meaning we have reached the end of the tree and therefore the path is not valid. If this happens we need to break out of the loop and stop, instead of continuing and accessing an invalid path. Added Reference https://git.kernel.org/stable/c/023545e272f369d487e6a986c1e321c6e04be1da Added Reference https://git.kernel.org/stable/c/0761447f6f51e1c7997960d8e6559337deed6729 Added Reference https://git.kernel.org/stable/c/1ee1d006c9fe4d6be5527ab1c84216b80cccbe40 Added Reference https://git.kernel.org/stable/c/b2bd557b75b760e4b9d209112bda19314bd64558 Added Reference https://git.kernel.org/stable/c/b5b8ade9da452086e78f5d519b90d3769e354853 Added Reference https://git.kernel.org/stable/c/d7cf2314dd5e8661c05d076cd627eea9a7f76616 Added Reference https://git.kernel.org/stable/c/ecb7c2484cfc83a93658907580035a8adf1e0a92 Added Reference https://git.kernel.org/stable/c/fd4913a53e3b54ad7e161847291439fe445d6356